package com.jinxin.platform.cdperprotypay.pojo.form;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.datatype.jsr310.ser.LocalDateTimeSerializer;
import lombok.Data;

import java.util.Date;

/**
 * @author : zhangpeng
 * @date : 2020-07-08 10:55:15
 **/
@Data
public class ChargeRoomDetailForm {

    /**
     * 房间号id
     */
    private String roomId;
    /**
     * 用户id
     */
    private String userId;
    /**
     * 收费项目id
     */
    private String itemsId;
    /**
     * 收费标准id
     */
    private String standardId;
    /**
     * 收费开始时间
     */
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private Date startTime;
    /**
     * 收费结束时间
     */
    @JsonFormat(pattern = "yyyy-MM", timezone = "GMT+8")
    @JsonSerialize(using = LocalDateTimeSerializer.class)
    private Date endTime;
    /**
     * 备注
     */
    private String remark;
    /**
     * 是否清除之前的收费标准 0否；1是
     */
    private String afterStandard;
    /**
     * 无结束时间 1无 null
     */
    private String noEndTime;
    /**
     * 指定收费金额
     */
    private String moneys;
}
